﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo09
{
    class Animal
    {
        public string ani;

        public string Ani {
            get { return this.ani; }
            set { this.ani = value; }
        }

        public Animal(string ani) {
            this.ani = ani;
        }

        public void Eat() {
            Console.WriteLine("{0}能吃",this.ani);
        }
    }
}
